Skip to main content

showValue

Type

property

Summary

Specifies whether the current value of a scale-bar scrollbar is displayed in below the scrollbar.

Syntax

set the showValue of <scrollbar> to {true | false}

Description

Use the showValue property to give the user an exact indication of the scrollbar's position.

If the scrollbar's style property is set to "scrollbar" or "progress", the setting of its showValue property has no effect.

The showValue property displays the scale bar's current setting. If the scale bar is oriented vertically, the value is displayed to its right. If the scale bar is oriented horizontally, the value is displayed above (if the lookAndFeel is set to "Motif" ) or below it.

Whenever the scrollbar is scrolled and the thumb's position changes, the value is updated. (Use the startValue and endValue properties to set the scale of the scrollbar value.)

Examples

set the showValue of scrollbar "Pages" to true

object: scrollbar

property: showValue, lookAndFeel, endValue, properties

function: value

glossary: property

keyword: scrollbar

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?